<?php

namespace App\Models\Open;

use App\Models\Common\Media;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;

class WechatKfMedia extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'wechat_kf_medias';

    public function pic() : BelongsTo
    {
        return $this->belongsTo(Media::class, 'pic_id');
    }

}
